


@cd%CFG_DIR%\TXT
@echo **** GENERATING DATA FILES ****


@if exist bdt.dat del bdt.dat
@%SPTOOLS%\gendata -q %FMT% bdt.txt
@echo Moving bdt.dat to %SPFILES%
@rename bdt.dat bdt.dat
@copy bdt.dat %SPFILES%
@del bdt.dat 



if exist cct.dat del cct.dat
%SPTOOLS%\gendata -q %FMT% cct.txt
echo Moving cct.dat to %SPFILES%
@rename cct.dat cct.dat
copy cct.dat %SPFILES%
@del cct.dat

echo.


@if exist cdt.dat del cdt.dat
@%SPTOOLS%\gendata -q %FMT% cdt.txt
@echo Moving cdt.dat to %SPFILES%
@rename cdt.dat cdt.dat
@copy cdt.dat %SPFILES%

@del cdt.dat

@echo.


REM @if exist c01.dat del c01.dat
REM @%SPTOOLS%\gendata -q %FMT% c01.txt
REM @echo Moving c01.dat to %SPFILES%
REM @rename cdt.dat c01.dat
REM @copy c01.dat %SPFILES%
REM @del c01.dat 

REM @echo.



   

@if exist cpt.dat del cpt.dat
@%SPTOOLS%\gendata -q %FMT% cpt.txt
@echo Moving cpt.dat to %SPFILES%
@rename cpt.dat cpt.dat
@copy cpt.dat %SPFILES%
@del cpt.dat 

@echo.



@if exist cst.dat del cst.dat
@%SPTOOLS%\gendata -q %FMT% cst.txt
@echo Moving cst.dat to %SPFILES%
@rename cst.dat cst.dat
@copy cst.dat %SPFILES%


@del cst.dat 



@echo.



@if exist hdt.dat del hdt.dat
@%SPTOOLS%\gendata -q %FMT% hdt.txt
@echo Moving hdt.dat to %SPFILES%
@rename hdt.dat hdt.dat
@copy hdt.dat %SPFILES%
@del hdt.dat 

@echo.

@if exist tcp.dat del tcp.dat
@%SPTOOLS%\gendata -q %FMT% tcp.txt
@echo Moving tcp.dat to %SPFILES%
@rename tcp.dat tcp.dat
@copy tcp.dat %SPFILES%
@del tcp.dat 

@echo.

@if exist gpt.dat del gpt.dat
@%SPTOOLS%\gendata -q %FMT% gpt.txt
@echo Moving gpt.dat to %SPFILES%
@rename gpt.dat gpt.dat
@copy gpt.dat %SPFILES%
@del gpt.dat 

@echo.

@if exist mgt.dat del mgt.dat
@%SPTOOLS%\gendata -q %FMT% mgt.txt
@echo Moving mgt.dat to %SPFILES%
@rename mgt.dat mgt.dat
@copy mgt.dat %SPFILES%
@del mgt.dat 

@echo.

@if exist sig.dat del sig.dat
@%SPTOOLS%\gendata -q %FMT% sig.txt
@echo Moving sig.dat to %SPFILES%
@rename sig.dat sig.dat
@copy sig.dat %SPFILES%
@del sig.dat 

@echo.

@if exist ett.dat del ett.dat
@%SPTOOLS%\gendata -q %FMT% ett.txt
@echo Moving ett.dat to %SPFILES%
@rename ett.dat ett.dat
@copy ett.dat %SPFILES%
@del ett.dat 

@echo.

@if exist iit.dat del iit.dat
@%SPTOOLS%\gendata -q %FMT% iit.txt
@echo Moving iit.dat to %SPFILES%
@rename iit.dat iit.dat
@copy iit.dat %SPFILES%
@del iit.dat 

@echo.


@if exist lct.dat del lct.dat
@%SPTOOLS%\gendata -q %FMT% lct.txt
@echo Moving lct.dat to %SPFILES%
@rename lct.dat lct.dat
@copy lct.dat %SPFILES%
@del lct.dat 

@echo.

@echo Making Menu specific files



@if exist mit.dat del mit.dat
@%SPTOOLS%\gendata -q %FMT% mit.txt
@echo Moving mit.dat to %SPFILES%
@rename mit.dat mit.dat
@copy mit.dat %SPFILES%
@copy mit.dat %SPFILES%\mitmm1.dat
@del mit.dat 




@if exist mht.dat del mht.dat
@%SPTOOLS%\gendata -q %FMT% mht.txt
@echo Moving mht.dat to %SPFILES%
@rename mht.dat mht.dat
@copy mht.dat %SPFILES%
@del mht.dat 



REM @if exist \.dat del m01.dat
REM @%SPTOOLS%\gendata -q %FMT% m01.txt
REM @rename mht.dat m01.dat
REM @echo Moving m01.dat to %SPFILES%
REM @rename m01.dat m01.dat
REM @copy m01.dat %SPFILES%
REM @del m01.dat 
 


REM @if exist m02.dat del m02.dat
REM @%SPTOOLS%\gendata -q %FMT% m02.txt
REM @rename mht.dat m02.dat
REM @echo Moving m02.dat to %SPFILES%
REM @rename m02.dat m02.dat
REM @copy m02.dat %SPFILES%
REM @del m02.dat 



REM @if exist m03.dat del m03.dat
REM @%SPTOOLS%\gendata -q %FMT% m03.txt
REM @rename mht.dat m03.dat
REM @echo Moving m03.dat to %SPFILES%
REM @rename m03.dat m03.dat
REM @copy m03.dat %SPFILES%
REM @del m03.dat 



REM @if exist m04.dat del m04.dat
REM @%SPTOOLS%\gendata -q %FMT% m04.txt
REM @rename mht.dat m04.dat
REM @echo Moving m04.dat to %SPFILES%
REM @rename m04.dat m04.dat
REM @copy m04.dat %SPFILES%
REM @del m04.dat 



REM @if exist m05.dat del m05.dat
REM @%SPTOOLS%\gendata -q %FMT% m05.txt
REM @rename mht.dat m05.dat
REM @echo Moving m05.dat to %SPFILES%
REM @rename m05.dat m05.dat
REM @copy m05.dat %SPFILES%
REM @del m05.dat 


@if exist pct.dat del pct.dat
@%SPTOOLS%\gendata -q %FMT% pct.txt
@echo Moving pct.dat to %SPFILES%
@rename pct.dat pct.dat
@copy pct.dat %SPFILES%
@del pct.dat 

@echo.



@if exist tct.dat del tct.dat
@%SPTOOLS%\gendata -q %FMT% tct.txt
@echo Moving tct.dat to %SPFILES%
@rename tct.dat tct.dat
@copy tct.dat %SPFILES%
@del tct.dat 

@echo.


@echo.


@if exist dct.dat del dct.dat
@%SPTOOLS%\gendata -q %FMT% dct.txt
@echo Moving dct.dat to %SPFILES%
@rename dct.dat dct.dat
@copy dct.dat %SPFILES%
@del dct.dat 

@echo.




@if exist pit.dat del pit.dat
@%SPTOOLS%\gendata -q %FMT% pit.txt
@echo Moving pit.dat to %SPFILES%
@rename pit.dat pit.dat
@copy pit.dat %SPFILES%
@del pit.dat 

@echo.


if exist aat.dat del aat.dat
%SPTOOLS%\gendata -q %FMT% aat.txt
echo Moving aat.dat to %SPFILES%
@rename aat.dat aat.dat
copy aat.dat %SPFILES%
@del aat.dat 

echo.

@if exist mvt.dat del mvt.dat
@%SPTOOLS%\gendata -q %FMT% mvt.txt
@echo Moving mvt.dat to %SPFILES%
@rename mvt.dat mvt.dat
@copy mvt.dat %SPFILES%
@del mvt.dat  

echo.

@if exist est.dat del est.dat
@%SPTOOLS%\gendata -q %FMT% est.txt
@echo Moving est.dat to %SPFILES%
@rename est.dat est.dat
@copy est.dat %SPFILES%
@del est.dat 

echo.

@if exist MNU.dat del MNU.dat
@%SPTOOLS%\gendata -q %FMT% MNU.txt
@echo Moving MNU.dat to %SPFILES%
@rename MNU.dat MNU.dat
@copy MNU.dat %SPFILES%
@del MNU.dat 

@if exist MNU.dat del MNU.dat
@%SPTOOLS%\gendata -q %FMT% ImamMenu.txt
@echo Moving MNU.dat to %SPFILES%
@rename MNU.dat MNU.dat
@copy MNU.dat %SPFILES%
@del MNU.dat 

echo.

@if exist PCL.dat del PCL.dat
@%SPTOOLS%\gendata -q %FMT% PCL.txt
@echo Moving PCL.dat to %SPFILES%
@rename PCL.dat PCL.dat
@copy PCL.dat %SPFILES%
@del PCL.dat 

echo.

@if exist CTL.dat del CTL.dat
@%SPTOOLS%\gendata -q %FMT% CTL.txt
@echo Moving CTL.dat to %SPFILES%
@rename CTL.dat CTL.dat
@copy CTL.dat %SPFILES%
@del CTL.dat 

echo.

REM Alona_G1 moved this here 7Feb2006
REM use this for generating cfg.dat from cfg.txt
REM @if exist cfg.dat del cfg.dat
REM @%SPTOOLS%\gendata -q %FMT% cfg.txt
REM @echo Moving cfg.dat to %SPFILES%
REM @rename cfg.dat cfg.dat
REM @copy cfg.dat %SPFILES%
REM @del cfg.dat 
REM @echo.
 
@cd%SP_ROOT%\PROJECTS\%SP_PROJ%\MDATA
@echo Moving about.txt to %SPFILES%
@copy about.txt %SPFILES%
@echo.
@echo Moving ImamCapk.txt to %SPFILES%
@copy ImamCapk.txt %SPFILES%
@echo.
@echo Moving CtlMsg.txt to %SPFILES%
@copy CtlMsg.txt %SPFILES%
@echo.

REM Alona_G1 moved this here 18Feb2006
REM use this for generating cfg.dat from citicfg.txt
@if exist cfg.dat del cfg.dat
@%SPTOOLS%\gendata -q %FMT% citicfg.txt
@echo Moving cfg.dat to %SPFILES%
@rename cfg.dat cfg.dat
@copy cfg.dat %SPFILES%
@del cfg.dat 
@echo.

@if exist cfg.dat del cfg.dat
@%SPTOOLS%\gendata -q %FMT% cfg_imam.txt
@echo Moving cfg.dat to %SPFILES%
@rename cfg.dat cfg.dat
@copy cfg.dat %SPFILES%
@del cfg.dat 
@echo.


@if exist rfm.dat del rfm.dat
@%SPTOOLS%\gendata -q %FMT% rfm.txt
@echo Moving rfm.dat to %SPFILES%
@rename rfm.dat rfm.dat
@copy rfm.dat %SPFILES%
@del rfm.dat 
@echo.
 


@if exist opt.dat del opt.dat
@%SPTOOLS%\gendata -q %FMT% opt.txt
@echo Moving opt.dat to %SPFILES%
@rename opt.dat opt.dat
@copy opt.dat %SPFILES%
@del opt.dat 
@echo.

 

@if exist menu3200.dat del menu3200.dat
@if exist menuct.dat del menuct.dat
@%SPTOOLS%\gendata -q %FMT% menuct.txt
@echo Moving menuct.dat to %SPFILES%
@rename menu3200.dat menuct.dat
@copy menuct.dat %SPFILES%
@del menuct.dat 
 

@echo.


@if exist menu3200.dat del menu3200.dat
@if exist menuhh.dat del menuhh.dat
@%SPTOOLS%\gendata -q %FMT% menuhh.txt
@echo Moving menuhh.dat to %SPFILES%
@rename menu3200.dat menuhh.dat
@copy menuhh.dat %SPFILES%
@del menuhh.dat 
 

@echo.



@cd%SRC_ROOT%\tran
@if exist ast.dat del ast.dat
@%SPTOOLS%\gendata -q %FMT% ast.txt
@echo Moving ast.dat to %SPFILES%
@rename ast.dat ast.dat
@copy ast.dat %SPFILES%
@del ast.dat 

 

@cd%SRC_ROOT%\powrfail
@if exist pfr.dat del pfr.dat
@%SPTOOLS%\gendata -q %FMT% pfr.txt
@echo Moving pfr.dat to %SPFILES%
@rename pfr.dat pfr.dat
@copy pfr.dat %SPFILES%
@del pfr.dat 
@echo.


@cd\Softpay\%SP_VER%\Hostsrc\CITISRC
@if exist CITItrt.dat del CITItrt.dat
@if exist trt.dat del trt.dat
@%SPTOOLS%\gendata -q %FMT% CITItrt.txt
@rename trt.dat CITITRT.DAT
@echo Moving CITItrt.dat to %SPFILES%
@rename CITItrt.dat CITItrt.dat
@copy CITITRT.DAT %SPFILES%
@del CITITRT.dat 

  
@if exist CITIrt.dhh del CITItrt.dhh
@if exist trt.dat del trt.dat
@%SPTOOLS%\gendata -q %FMT% CITItrt.txt
@rename trt.dat CITITRT.DHH
@echo Moving CITItrt.dhh to %SPFILES%
@copy CITITRT.DHH %SPFILES%
@del CITITRT.DHH  

@if exist CITI.bmp del CITI.bmp
@if exist bmp.dat del bmp.dat
@%SPTOOLS%\gendata -q %FMT% CITIbmp.txt
@rename bmp.dat CITI.BMP
@rename CITI.bmp CITI.bmp
@echo Moving CITI.bmp to %SPFILES%
@copy CITI.BMP %SPFILES%
@del CITI.bmp
 
@if exist HST1.bmp del HST1.bmp
@if exist bmp.dat del bmp.dat
@%SPTOOLS%\gendata -q %FMT% CITIbmp.txt
@rename bmp.dat HST1.BMP
@rename HST1.bmp HST1.bmp
@echo Moving HST1.bmp to %SPFILES%\Host
@copy HST1.BMP %SPFILES%\Host
@del HST1.bmp

@if exist HST2.bmp del HST2.bmp
@if exist bmp.dat del bmp.dat
@%SPTOOLS%\gendata -q %FMT% CITIbmp.txt
@rename bmp.dat HST2.BMP
@rename HST2.bmp HST2.bmp
@echo Moving HST2.bmp to %SPFILES%\Host
@copy HST2.BMP %SPFILES%\Host
@del HST2.bmp

@if exist HST3.bmp del HST3.bmp
@if exist bmp.dat del bmp.dat
@%SPTOOLS%\gendata -q %FMT% CITIbmp.txt
@rename bmp.dat HST3.BMP
@rename HST3.bmp HST3.bmp
@echo Moving HST3.bmp to %SPFILES%\Host
@copy HST3.BMP %SPFILES%\Host
@del HST3.bmp

@if exist HST4.bmp del HST4.bmp
@if exist bmp.dat del bmp.dat
@%SPTOOLS%\gendata -q %FMT% CITIbmp.txt
@rename bmp.dat HST4.BMP
@rename HST4.bmp HST4.bmp
@echo Moving HST4.bmp to %SPFILES%\Host
@copy HST4.BMP %SPFILES%\Host
@del HST4.bmp

@if exist HST5.bmp del HST5.bmp
@if exist bmp.dat del bmp.dat
@%SPTOOLS%\gendata -q %FMT% CITIbmp.txt
@rename bmp.dat HST5.BMP
@rename HST5.bmp HST5.bmp
@echo Moving HST5.bmp to %SPFILES%\Host
@copy HST5.BMP %SPFILES%\Host
@del HST5.bmp

@if exist HST6.bmp del HST6.bmp
@if exist bmp.dat del bmp.dat
@%SPTOOLS%\gendata -q %FMT% CITIbmp.txt
@rename bmp.dat HST6.BMP
@rename HST6.bmp HST6.bmp
@echo Moving HST6.bmp to %SPFILES%\Host
@copy HST6.BMP %SPFILES%\Host
@del HST6.bmp


@if exist HST1.ppt del HST1.ppt
@if exist piptran.dat del piptran.dat
@%SPTOOLS%\gendata -q %FMT% CITIppt.txt
@rename piptran.dat HST1.PPT
@rename HST1.ppt HST1.ppt
@echo Moving HST1.ppt to %SPFILES%\Host
@copy HST1.PPT %SPFILES%\Host
@del HST1.ppt

@if exist HST2.ppt del HST2.ppt
@if exist piptran.dat del piptran.dat
@%SPTOOLS%\gendata -q %FMT% CITIppt.txt
@rename piptran.dat HST2.PPT
@rename HST2.ppt HST2.ppt
@echo Moving HST2.ppt to %SPFILES%\Host
@copy HST2.PPT %SPFILES%\Host
@del HST2.ppt

@if exist HST3.ppt del HST3.ppt
@if exist piptran.dat del piptran.dat
@%SPTOOLS%\gendata -q %FMT% CITIppt.txt
@rename piptran.dat HST3.PPT
@rename HST3.ppt HST3.ppt
@echo Moving HST3.ppt to %SPFILES%\Host
@copy HST3.PPT %SPFILES%\Host
@del HST3.ppt

@if exist HST4.ppt del HST4.ppt
@if exist piptran.dat del piptran.dat
@%SPTOOLS%\gendata -q %FMT% CITIppt.txt
@rename piptran.dat HST4.PPT
@rename HST4.ppt HST4.ppt
@echo Moving HST4.ppt to %SPFILES%\Host
@copy HST4.PPT %SPFILES%\Host
@del HST4.ppt

@if exist HST5.ppt del HST5.ppt
@if exist piptran.dat del piptran.dat
@%SPTOOLS%\gendata -q %FMT% CITIppt.txt
@rename piptran.dat HST5.PPT
@rename HST5.ppt HST5.ppt
@echo Moving HST5.ppt to %SPFILES%\Host
@copy HST5.PPT %SPFILES%\Host
@del HST5.ppt

@if exist HST6.ppt del HST6.ppt
@if exist piptran.dat del piptran.dat
@%SPTOOLS%\gendata -q %FMT% CITIppt.txt
@rename piptran.dat HST6.PPT
@rename HST6.ppt HST6.ppt
@echo Moving HST6.ppt to %SPFILES%\Host
@copy HST6.PPT %SPFILES%\Host
@del HST6.ppt


@if exist CITI.ppt del CITI.ppt
@if exist piptran.dat del piptran.dat
@%SPTOOLS%\gendata -q %FMT% CITIppt.txt
@rename piptran.dat CITI.PPT
@rename CITI.ppt CITI.ppt
@echo Moving CITI.ppt to %SPFILES%
@copy CITI.PPT %SPFILES%
@del CITI.ppt

@if exist CITIpet.dat del CITIpet.dat
@if exist pet.dat del pet.dat
@%SPTOOLS%\gendata -q %FMT% CITIpet.txt
@rename pet.dat CITIpet.DAT
@echo Moving CITIpet.dat to %SPFILES%
@rename CITIpet.dat CITIpet.dat
@copy CITIpet.DAT %SPFILES%
@del CITIpet.dat 

@if exist HST1.dat del HST1.dat
@%SPTOOLS%\gendata -q %FMT% CITI.txt
@rename CITI.dat HST1.DAT
@echo Moving HST1.dat to %SPFILES%\Host
@rename HST1.dat HST1.dat
@copy HST1.dat %SPFILES%\Host
@copy HST1.dat %SPFILES%\Host\HST1mm1.dat
@del HST1.dat 

@if exist HST2.dat del HST2.dat
@%SPTOOLS%\gendata -q %FMT% CITI.txt
@rename CITI.dat HST2.DAT
@echo Moving HST2.dat to %SPFILES%\Host
@rename HST2.dat HST2.dat
@copy HST2.dat %SPFILES%\Host
@copy HST2.dat %SPFILES%\Host\HST2mm1.dat
@del HST2.dat 

@if exist HST3.dat del HST3.dat
@%SPTOOLS%\gendata -q %FMT% CITI.txt
@rename CITI.dat HST3.DAT
@echo Moving HST3.dat to %SPFILES%\Host
@rename HST3.dat HST3.dat
@copy HST3.dat %SPFILES%\Host
@copy HST3.dat %SPFILES%\Host\HST3mm1.dat
@del HST3.dat 

@if exist HST4.dat del HST4.dat
@%SPTOOLS%\gendata -q %FMT% CITI.txt
@rename CITI.dat HST4.DAT
@echo Moving HST4.dat to %SPFILES%\Host
@rename HST4.dat HST4.dat
@copy HST4.dat %SPFILES%\Host
@copy HST4.dat %SPFILES%\Host\HST4mm1.dat
@del HST4.dat 

@if exist HST5.dat del HST5.dat
@%SPTOOLS%\gendata -q %FMT% CITI.txt
@rename CITI.dat HST5.DAT
@echo Moving HST5.dat to %SPFILES%\Host
@rename HST5.dat HST5.dat
@copy HST5.dat %SPFILES%\Host
@copy HST5.dat %SPFILES%\Host\HST5mm1.dat
@del HST5.dat 

@if exist HST6.dat del HST6.dat
@%SPTOOLS%\gendata -q %FMT% CITI.txt
@rename CITI.dat HST6.DAT
@echo Moving HST6.dat to %SPFILES%\Host
@rename HST6.dat HST6.dat
@copy HST6.dat %SPFILES%\Host
@copy HST6.dat %SPFILES%\Host\HST6mm1.dat
@del HST6.dat 


@if exist CITI.dat del CITI.dat
@%SPTOOLS%\gendata -q %FMT% CITI.txt
@echo Moving CITI.dat to %SPFILES%
@rename CITI.dat CITI.dat
@copy CITI.dat %SPFILES%
@copy CITI.dat %SPFILES%\CITImm1.dat
@del CITI.dat 


@cd\Softpay\%SP_VER%\Hostsrc\CPACSRC
@if exist CPACtrt.dat del CPACtrt.dat
@if exist trt.dat del trt.dat
@%SPTOOLS%\gendata -q %FMT% CPACtrt.txt
@rename trt.dat CPACTRT.DAT
@echo Moving CPACtrt.dat to %SPFILES%
@rename CPACtrt.dat CPACtrt.dat
@copy CPACTRT.DAT %SPFILES%
@del CPACTRT.dat 

@if exist CPACrt.dhh del CPACtrt.dhh
@if exist trt.dat del trt.dat
@%SPTOOLS%\gendata -q %FMT% CPACtrt.txt
@rename trt.dat CPACTRT.DHH
@echo Moving CPACtrt.dhh to %SPFILES%
@copy CPACTRT.DHH %SPFILES%
@del CPACTRT.DHH 

@if exist CPAC.bmp del CPAC.bmp
@if exist bmp.dat del bmp.dat
@%SPTOOLS%\gendata -q %FMT% CPACbmp.txt
@rename bmp.dat CPAC.BMP
@rename CPAC.bmp CPAC.bmp
@echo Moving CPAC.bmp to %SPFILES%
@copy CPAC.BMP %SPFILES%
@del CPAC.bmp


@if exist CPAC.ppt del CPAC.ppt
@if exist piptran.dat del piptran.dat
@%SPTOOLS%\gendata -q %FMT% CPACppt.txt
@rename piptran.dat CPAC.PPT
@rename CPAC.ppt CPAC.ppt
@echo Moving CPAC.ppt to %SPFILES%
@copy CPAC.PPT %SPFILES%
@del CPAC.ppt

@if exist CPACpet.dat del CPACpet.dat
@if exist pet.dat del pet.dat
@%SPTOOLS%\gendata -q %FMT% CPACpet.txt
@rename pet.dat CPACpet.DAT
@echo Moving CPACpet.dat to %SPFILES%
@rename CPACpet.dat CPACpet.dat
@copy CPACpet.DAT %SPFILES%
@del CPACpet.dat 

@if exist CPAC.dat del CPAC.dat
@%SPTOOLS%\gendata -q %FMT% CPAC.txt
@echo Moving CPAC.dat to %SPFILES%
@rename CPAC.dat CPAC.dat
@copy CPAC.dat %SPFILES%
@copy CPAC.dat %SPFILES%\CPACmm1.dat
@del CPAC.dat 





@cd%SP_ROOT%\projects\%SP_PROJ%\bld

